a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
↳ QTRS
↳ DependencyPairsProof
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
MARK(prefix(X)) → A__PREFIX(mark(X))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(prefix(X)) → MARK(X)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MARK(prefix(X)) → A__PREFIX(mark(X))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(prefix(X)) → MARK(X)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(prefix(X)) → MARK(X)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(s(X)) → MARK(X)
MARK(prefix(X)) → MARK(X)
Used ordering: Polynomial interpretation [25]:
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
POL(A__APP(x1, x2)) = x1 + x2
POL(A__FROM(x1)) = x1
POL(A__ZWADR(x1, x2)) = x1 + x2
POL(MARK(x1)) = x1
POL(a__app(x1, x2)) = x1 + x2
POL(a__from(x1)) = x1
POL(a__prefix(x1)) = 1 + x1
POL(a__zWadr(x1, x2)) = x1 + x2
POL(app(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1
POL(from(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(prefix(x1)) = 1 + x1
POL(s(x1)) = 1 + x1
POL(zWadr(x1, x2)) = x1 + x2
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__zWadr(XS, nil) → nil
a__zWadr(nil, YS) → nil
a__from(X) → cons(mark(X), from(s(X)))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(nil) → nil
mark(prefix(X)) → a__prefix(mark(X))
a__prefix(X) → prefix(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__from(X) → from(X)
a__app(X1, X2) → app(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
Used ordering: Polynomial interpretation [25]:
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
POL(A__APP(x1, x2)) = x1 + x2
POL(A__FROM(x1)) = x1
POL(A__ZWADR(x1, x2)) = x1 + x2
POL(MARK(x1)) = x1
POL(a__app(x1, x2)) = x1 + x2
POL(a__from(x1)) = 1 + x1
POL(a__prefix(x1)) = 1 + x1
POL(a__zWadr(x1, x2)) = x1 + x2
POL(app(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1
POL(from(x1)) = 1 + x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(prefix(x1)) = 1 + x1
POL(s(x1)) = 0
POL(zWadr(x1, x2)) = x1 + x2
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__zWadr(XS, nil) → nil
a__zWadr(nil, YS) → nil
a__from(X) → cons(mark(X), from(s(X)))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(nil) → nil
mark(prefix(X)) → a__prefix(mark(X))
a__prefix(X) → prefix(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__from(X) → from(X)
a__app(X1, X2) → app(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(app(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__FROM(X) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → MARK(X2)
A__APP(nil, YS) → MARK(YS)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__APP(nil, YS) → MARK(YS)
Used ordering: Polynomial interpretation [25]:
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(app(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(cons(X1, X2)) → MARK(X1)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
POL(A__APP(x1, x2)) = x1 + x2
POL(A__ZWADR(x1, x2)) = x1 + x2
POL(MARK(x1)) = x1
POL(a__app(x1, x2)) = x1 + x2
POL(a__from(x1)) = x1
POL(a__prefix(x1)) = 1 + x1
POL(a__zWadr(x1, x2)) = x1 + x2
POL(app(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1
POL(from(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 1
POL(prefix(x1)) = 1 + x1
POL(s(x1)) = 0
POL(zWadr(x1, x2)) = x1 + x2
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__zWadr(XS, nil) → nil
a__zWadr(nil, YS) → nil
a__from(X) → cons(mark(X), from(s(X)))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(nil) → nil
mark(prefix(X)) → a__prefix(mark(X))
a__prefix(X) → prefix(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__from(X) → from(X)
a__app(X1, X2) → app(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
MARK(app(X1, X2)) → MARK(X1)
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(zWadr(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
MARK(cons(X1, X2)) → MARK(X1)
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(app(X1, X2)) → MARK(X1)
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(X)
MARK(zWadr(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → MARK(X2)
MARK(app(X1, X2)) → A__APP(mark(X1), mark(X2))
MARK(cons(X1, X2)) → MARK(X1)
A__ZWADR(cons(X, XS), cons(Y, YS)) → MARK(Y)
MARK(zWadr(X1, X2)) → MARK(X1)
A__APP(cons(X, XS), YS) → MARK(X)
MARK(zWadr(X1, X2)) → A__ZWADR(mark(X1), mark(X2))
A__ZWADR(cons(X, XS), cons(Y, YS)) → A__APP(mark(Y), cons(mark(X), nil))
POL(A__APP(x1, x2)) = 1 + x1
POL(A__ZWADR(x1, x2)) = 1 + x1 + x2
POL(MARK(x1)) = 1 + x1
POL(a__app(x1, x2)) = 1 + x1 + x2
POL(a__from(x1)) = 1 + x1
POL(a__prefix(x1)) = 1 + x1
POL(a__zWadr(x1, x2)) = 1 + x1 + x2
POL(app(x1, x2)) = 1 + x1 + x2
POL(cons(x1, x2)) = 1 + x1
POL(from(x1)) = 1 + x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(prefix(x1)) = 1 + x1
POL(s(x1)) = 0
POL(zWadr(x1, x2)) = 1 + x1 + x2
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__zWadr(XS, nil) → nil
a__zWadr(nil, YS) → nil
a__from(X) → cons(mark(X), from(s(X)))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
a__app(nil, YS) → mark(YS)
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(nil) → nil
mark(prefix(X)) → a__prefix(mark(X))
a__prefix(X) → prefix(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__from(X) → from(X)
a__app(X1, X2) → app(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
a__app(nil, YS) → mark(YS)
a__app(cons(X, XS), YS) → cons(mark(X), app(XS, YS))
a__from(X) → cons(mark(X), from(s(X)))
a__zWadr(nil, YS) → nil
a__zWadr(XS, nil) → nil
a__zWadr(cons(X, XS), cons(Y, YS)) → cons(a__app(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
a__prefix(L) → cons(nil, zWadr(L, prefix(L)))
mark(app(X1, X2)) → a__app(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(zWadr(X1, X2)) → a__zWadr(mark(X1), mark(X2))
mark(prefix(X)) → a__prefix(mark(X))
mark(nil) → nil
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
a__app(X1, X2) → app(X1, X2)
a__from(X) → from(X)
a__zWadr(X1, X2) → zWadr(X1, X2)
a__prefix(X) → prefix(X)